﻿var Planet = function (angularSpeed, spinDirection, gConstant, mass, sizeAndPosition, name, children) {

    $.extend(this, new UniverseEntity(sizeAndPosition, name, children));

    this.AngularSpeed = angularSpeed;
    this.GConstant = gConstant;
    this.Mass = mass;
    this.SpinDirection = spinDirection;
    this.UniverseEntityType = UniverseEntityTypes.Planet;

};